import type { CategoryItem } from '@/indexDB/index'


// ----------海外成熟开始 id:27-32------

// 海外成熟-美国 id:28-30
export const AMERICA_LIST: CategoryItem[] = [
  {
    id: 28,
    parentId: 27,
    name: '美国',
    code: 'america',
    parentCode: 'overseas-mature',
    level: 2,
  },
  {
    id: 29,
    parentId: 28,
    level: 3,
    parentCode: 'america',
    name: '纳斯达克',
    code: 'nasdaq'
  },
  {
    id: 30,
    parentId: 28,
    level: 3,
    parentCode: 'america',
    name: '标普500',
    code: 'sP_500'
  },
]

// 海外成熟-德国 id:31-32

export const GERMANY_LIST: CategoryItem[] = [
  {
    id: 31,
    parentId: 27,
    name: '德国',
    code: 'germany',
    parentCode: 'overseas-mature',
    level: 2,
  },
  {
    id: 32,
    parentId: 31,
    level: 3,
    parentCode: 'germany',
    name: '德国DAX',
    code: 'germanySDax'
  },
]

export const OVERSEAS_MATURE_LIST: CategoryItem[] = [
  {
    id: 27,
    name: '海外成熟市场',
    code: 'overseas-mature',
    level: 1,
  },
  ...AMERICA_LIST,
  ...GERMANY_LIST
]

// ----------海外成熟结束 id:27-32------
